﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BI.IDAL;
using BI.IServices;

namespace BI.Services
{
    public class AcountService:IAcountService
    {
        #region 属性

        private IAcountRepository _IAcountResponsitory { set; get; }

        #endregion

        #region 构造函数

        public AcountService(IAcountRepository AcountResponsitory)
        {
            _IAcountResponsitory = AcountResponsitory;
        }

        #endregion

        #region IAcountService 成员

        public bool Login(string userId, string password, string returnUrl)
        {
            return _IAcountResponsitory.Login(userId, password, returnUrl);
        }

        #endregion
    }
}
